﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="Admin.aspx.cs" Inherits="RedeSocial.Web.Admin" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
        AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="Id" 
        DataSourceID="EntityDataSource1">
        <Columns>
            <asp:CommandField ShowEditButton="True" />
            <asp:BoundField DataField="Id" HeaderText="Id" ReadOnly="True" 
                SortExpression="Id" Visible="False" />
            <asp:BoundField DataField="Name" HeaderText="Name" ReadOnly="True" 
                SortExpression="Name" />
            <asp:BoundField DataField="Email" HeaderText="Email" ReadOnly="True" 
                SortExpression="Email" />
            <asp:BoundField DataField="Password" HeaderText="Password" 
                SortExpression="Password" Visible="False" />
            <asp:BoundField DataField="UserState" HeaderText="UserState" 
                SortExpression="UserState" />
            <asp:BoundField DataField="Birthday" HeaderText="Birthday" ReadOnly="True" 
                SortExpression="Birthday" />
            <asp:BoundField DataField="Gender" HeaderText="Gender" ReadOnly="True" 
                SortExpression="Gender" />
            <asp:CheckBoxField DataField="IsAdmin" HeaderText="IsAdmin" 
                SortExpression="IsAdmin" />
            <asp:BoundField DataField="Country.Id" HeaderText="Country.Id" 
                SortExpression="Country.Id" Visible="False" />
            <asp:BoundField DataField="File.Id" HeaderText="File.Id" 
                SortExpression="File.Id" Visible="False" />
            <asp:BoundField DataField="Language.Id" HeaderText="Language.Id" 
                SortExpression="Language.Id" Visible="False" />
        </Columns>
    </asp:GridView>
    <asp:EntityDataSource ID="EntityDataSource1" runat="server" 
        ConnectionString="name=RedeSocialEntities" 
        DefaultContainerName="RedeSocialEntities" EnableDelete="True" 
        EnableUpdate="True" EntitySetName="Users" EntityTypeFilter="User">
    </asp:EntityDataSource>
    <asp:SqlDataSource ID="ttt" runat="server"></asp:SqlDataSource>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server">
    </asp:ObjectDataSource>
</asp:Content>
